package cn.broadsense.biz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 点位关注表
 * @TableName t_channel_follow
 */
@TableName(value ="t_channel_follow")
@Data
public class ChannelFollow implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 点位id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long channelId;

    /**
     * 1=收藏
     */
    private Integer type;

    /**
     * 用户id
     */
    private Long userId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}